package com.econ.powercloud.ems.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.econ.powercloud.ems.dal.entity.EmsArea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 区域（省市）信息表 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-10-18
 */
public interface EmsAreaMapper extends BaseMapper<EmsArea> {

    List<EmsArea> getProvinceList();

    List<EmsArea> getCityList();

    Integer updateBatch(@Param("list") List<EmsArea> resultList);
}
